package Server.Message;

import Client.logic.MyFile;
/**********************************************
 * (BDT)Baglama Developer Team
 * @author 
 **** 
 ******          
 ********
 *********/
public class MessageGradeTask extends Message{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int idLesson, idTask, idUser, grade;
	
	private String commant;
	
	private MyFile taskFile;
	/**
	 * 
	 * @param idLesson
	 * @param idTask
	 * @param idUser
	 * @param grade
	 * @param commant
	 * @param taskFile
	 */
	public MessageGradeTask( int idLesson, int idTask,
			int idUser, int grade, String commant, MyFile taskFile) {
		super(MessageType.MESSAGE_GRADE_TASK);
		this.idLesson = idLesson;
		this.idTask = idTask;
		this.idUser = idUser;
		this.grade = grade;
		this.commant = commant;
		this.taskFile = taskFile;
	}
/**
 * 
 * @return
 */
	public int getIdLesson() {
		return idLesson;
	}
/**
 * 
 * @return
 */
	public int getIdTask() {
		return idTask;
	}
/**
 * 
 * @return 
 */
	public int getIdUser() {
		return idUser;
	}
/**
 * 
 * @return grade
 */
	public int getGrade() {
		return grade;
	}
/**
 * 
 * @return commant
 */
	public String getCommant() {
		return commant;
	}

	public MyFile getTaskFile() {
		return taskFile;
	}

}
